/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.SlideShowView*/
public class SlideShowView extends JavaScriptObject {

	protected SlideShowView() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final int getZoom()/*-{
		return this.Zoom;
	}-*/;

	public native final Slide getSlide()/*-{
		return this.Slide;
	}-*/;

	public native final int getPointerType()/*-{
		return this.PointerType;
	}-*/;

	public native final void setPointerType(int value)/*-{
		this.PointerType = value;
	}-*/;

	public native final int getState()/*-{
		return this.State;
	}-*/;

	public native final void setState(int value)/*-{
		this.State = value;
	}-*/;

	protected native final int _getAcceleratorsEnabled()/*-{
		return this.AcceleratorsEnabled;
	}-*/;

	public final MsoTriState getAcceleratorsEnabled(){
		return MsoTriState.valueOf(_getAcceleratorsEnabled());
	}
	protected native final void _setAcceleratorsEnabled( int value)/*-{
		this.AcceleratorsEnabled = value;
	}-*/;

	public final void setAcceleratorsEnabled(MsoTriState value){
		_setAcceleratorsEnabled(value.getValue());
	}
	public native final float getPresentationElapsedTime()/*-{
		return this.PresentationElapsedTime;
	}-*/;

	public native final float getSlideElapsedTime()/*-{
		return this.SlideElapsedTime;
	}-*/;

	public native final void setSlideElapsedTime(float value)/*-{
		this.SlideElapsedTime = value;
	}-*/;

	public native final Slide getLastSlideViewed()/*-{
		return this.LastSlideViewed;
	}-*/;

	public native final int getAdvanceMode()/*-{
		return this.AdvanceMode;
	}-*/;

	public native final ColorFormat getPointerColor()/*-{
		return this.PointerColor;
	}-*/;

	protected native final int _getIsNamedShow()/*-{
		return this.IsNamedShow;
	}-*/;

	public final MsoTriState getIsNamedShow(){
		return MsoTriState.valueOf(_getIsNamedShow());
	}
	public native final String getSlideShowName()/*-{
		return this.SlideShowName;
	}-*/;

	public native final void drawLine(float beginX, float beginY, float endX, float endY)/*-{
		this.DrawLine( beginX, beginY, endX, endY);
	}-*/;

	public native final void eraseDrawing()/*-{
		this.EraseDrawing( );
	}-*/;

	public native final void first()/*-{
		this.First( );
	}-*/;

	public native final void last()/*-{
		this.Last( );
	}-*/;

	public native final void next()/*-{
		this.Next( );
	}-*/;

	public native final void previous()/*-{
		this.Previous( );
	}-*/;

	protected native final void _gotoSlide(int index,  int resetSlide)/*-{
		this.GotoSlide( index, resetSlide);
	}-*/;

	public final void gotoSlide(int index, MsoTriState resetSlide){
		_gotoSlide(index, resetSlide.getValue());
	}
	public native final void gotoNamedShow(String slideShowName)/*-{
		this.GotoNamedShow( slideShowName);
	}-*/;

	public native final void endNamedShow()/*-{
		this.EndNamedShow( );
	}-*/;

	public native final void resetSlideTime()/*-{
		this.ResetSlideTime( );
	}-*/;

	public native final void exit()/*-{
		this.Exit( );
	}-*/;

	protected native final void _installTracker(MouseTracker pTracker,  int presenter)/*-{
		this.InstallTracker( pTracker, presenter);
	}-*/;

	public final void installTracker(MouseTracker pTracker, MsoTriState presenter){
		_installTracker(pTracker, presenter.getValue());
	}
	public native final int getCurrentShowPosition()/*-{
		return this.CurrentShowPosition;
	}-*/;

	public native final void gotoClick(int index)/*-{
		this.GotoClick( index);
	}-*/;

	public native final int getClickIndex()/*-{
		return this.GetClickIndex( );
	}-*/;

	public native final int getClickCount()/*-{
		return this.GetClickCount( );
	}-*/;

	public native final boolean firstAnimationIsAutomatic()/*-{
		return this.FirstAnimationIsAutomatic( );
	}-*/;

}
